<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" type="text/css" href="__CSS__/main.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/common.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/bootstrap.min.css" />
    <script type="text/javascript" src="__EXTEND__/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/lib/layer/2.4/layer.js"></script>
    <![endif]-->
    <title></title>
</head>
<body>
<div class="contant">
<div class="row">
    <div class="top">系统管理>文件设置</div>
    <div class="content applylist">
        <div class="box">
            <h1>文件设置列表</h1>

            <div class="list-block">
                <div class="row">
                    <a href="{:U('Fileset/add')}">
                        <button class="addcus"><span></span>添加配置</button>
                    </a>

                    <form id="form-search" action='{:U("Fileset/index")}' class="form-inline text-right ">
                        <div class="form-group" style="margin-top: 15px;">
                            <label>贷款银行</label>
                            <select name="bank_id" class="myCss" style="float: left">
                                <option value="">不限</option>
                                <foreach name="bankList" item="val">
                                    <option value={$val.id}>
                                        {$val.bank_short_name}
                                    </option>
                                </foreach>
                            </select>

                            <label>车辆性质</label>
                            <select name="models_form" class="myCss" style="float: left">
                                <option value="">不限</option>
                                <foreach name="models_form" item="val">
                                    <option value={$key}>
                                        {$val}
                                    </option>
                                </foreach>
                            </select>

                            <label>交易类型</label>
                            <select name="business_type" class="myCss" style="float: left">
                                <option value="">不限</option>
                                <foreach name="business_type" item="val">
                                    <option value={$key}>
                                        {$val}
                                    </option>
                                </foreach>
                            </select>

                            <label>上牌类型</label>
                            <select name="license_type" class="myCss" style="float: left">
                                <option value="">不限</option>
                                <foreach name="license_type" item="val">
                                    <option value={$key}>
                                        {$val}
                                    </option>
                                </foreach>
                            </select>

                            <label>文件类型</label>
                            <select name="file_type" class="myCss" style="float: left">
                                <option value="">不限</option>
                                <foreach name="file_type" item="val">
                                    <option value={$key}>
                                        {$val}
                                    </option>
                                </foreach>
                            </select>
                        </div>
                        <button class="btn btn-primary" type="submit" style="margin-top: 13px;">查询</button>
                    </form>
                </div>
                <div class="row">
                    <table class="list">
                        <tr>
                            <th>ID</th>
                            <th>交易类型</th>
                            <th>车辆性质</th>
                            <th>上牌类型</th>
                            <th>银行</th>
                            <th>文件类型</th>
                            <th>文件名</th>
                            <th>字段名</th>
                            <th>是否照片</th>
                            <th>排序</th>
                            <th>操作</th>
                        </tr>
                        <volist name="list" id="_uf">
                            <tr>
                                <td>{$_uf.id}</td>
                                <td>
                                    <switch name="_uf.business_type">
                                        <case value="0">简易贷</case>
                                        <case value="1">标准贷</case>
                                        <case value="2">租赁</case>
                                        <default/>
                                        default
                                    </switch>
                                </td>
                                <td>
                                    <switch name="_uf.models_form">
                                        <case value="0">新车</case>
                                        <case value="1">二手车</case>
                                        <case value="2">存量车</case>
                                        <case value="3">商用车</case>
                                        <default/>
                                        default
                                    </switch>
                                </td>
                                <td>
                                    <switch name="_uf.license_type">
                                        <case value="0">私牌</case>
                                        <case value="1">公牌</case>
                                        <default/>
                                        default
                                    </switch>
                                </td>
                                <td>{$_uf.bank_name}</td>
                                <td>
                                    <switch name="_uf.file_type">
                                        <case value="0">主贷人</case>
                                        <case value="1">配偶</case>
                                        <case value="2">担保人</case>
                                        <default/>
                                        default
                                    </switch>
                                </td>
                                <td>{$_uf.file_key}</td>
                                <td>{$_uf.e_file_key}</td>
                                <td>
                                    <switch name="_uf.is_pic">
                                        <case value="1">图片</case>
                                        <case value="0">视频</case>
                                        <default/>
                                        default
                                    </switch>
                                </td>
                                <td>{$_uf.sort}</td>
                                <td><!-- <a href="{:U('Bankrule/detail')}">查看</a> -->&nbsp;&nbsp;<a
                                        href="{:U('Fileset/edit?id='.$_uf['id'])}">编辑</a></td>
                            </tr>
                        </volist>
                    </table>
                    总数量：{$listCount}
                </div>
                {$page}
            </div>
        </div>
    </div>
</div>
</div>
</body>
</html>